import request from '@/utils/request'

// 查询仓库库存出库记录列表
export function listImsStockOutRecord(query) {
  return request({
    url: '/ims_data/imsStockOutRecord/list',
    method: 'get',
    params: query
  })
}

// 查询仓库库存出库记录详细
export function getImsStockOutRecord(id) {
  return request({
    url: '/ims_data/imsStockOutRecord/' + id,
    method: 'get'
  })
}

// 新增仓库库存出库记录
export function addImsStockOutRecord(data) {
  return request({
    url: '/ims_data/imsStockOutsRecord',
    method: 'post',
    data: data
  })
}

// 修改仓库库存出库记录
export function updateImsStockOutRecord(data) {
  return request({
    url: '/ims_data/imsStockOutRecord',
    method: 'put',
    data: data
  })
}

// 删除仓库库存出库记录
export function delImsStockOutRecord(id) {
  return request({
    url: '/ims_data/imsStockOutRecord/' + id,
    method: 'delete'
  })
}
